/**
 * 系统基本文字配置
 */

export const SYSTEM_CONFIG_TITLE = "固废平台管理系统";

/**
 * Reducer内的state存储数据名
 */

export const REQUEST_DATA = 'REQUEST_DATA';

export const RECEIVE_DATA = 'RECEIVE_DATA';

export const FORM_SPIN_LOADING = 'formSpinLoading';// 表单loading

export const FORM_SPIN_LOADING_MODAL = 'formSpinLoadingModal';// 弹出表单loading

export const BASE_MODAL = 'baseModal';// 基础内容loading

export const BASE_SPIN_LOADING = 'baseSpinLoading';// 基础内容loading

export const BASE_CARD_LOADING = 'baseCardLoading';// 基础内容Card loading

export const BASE_TABLE_LOADING = 'baseTableLoading';// 基础内容Table loading

export const BASE_TABLE_LOADING_COUNT = 'baseTableLoadingCount';// 基础内容Table loading

export const TABLE_LOADING = 'tableLoading';// 弹出表单loading

export const ECHARTS_WORD_CLOUD_UPDATE = "isUpdateWordCloud";// 是否刷新标签云

export const HEADER_MENUS_SERVICE = "headerMenusService";// 头部菜单

export const MENU_OPEN_KEY = "menuOpenKey";// 选中菜单

// user
export const EDIT_PASSWORD_MODAL = "editPasswordModal";// 修改密码

export const EDIT_PASSWORD_SPIN = "editPasswordSpin";// 修改密码spin loading
export const CODE_CONFIG = "codeConfig";
export const CODE_CONFIG_INFO = {
    send:"发送验证码",activeSend:"",sendCodeFlag:true,t:60
}

/**
 * 菜单
 * @role {*[]} 角色
 */
export const HEADER_MENUS = [
    {key: "0", name: "首页", path: "/app/index", children: [], role: []},
    {key: "1", name: "固废管理", path: "/app/waste/order",
        children: [
            {key: "102", name: "固废列表", path: "/app/cooper/list"},
            {key: "103", name: "通知管理", path: "/app/cooper/list"}
        ], role: []
    },
    {key: "2", name: "预警固废管理", path: "/app/waste/pend",
        children: [
            {key: "202", name: "预警固废管理", path: "/app/cooper/list"},
            {key: "203", name: "预警企业列表", path: "/app/cooper/list"},
        ], role: []},
    {key: "3", name: "企业而管理", path: "/app/waste/all", children: [], role: []},
    {key: "4", name: "预警企业处理", path: "/app/waste/all1",children: [], role: []},
    {key: "5", name: "统计列表", path: "/app/waste/all2",children: [], role: []},
    {key: "6", name: "个人中心", path: "/app/waste/all3",children: [], role: []}
];

export const MENUS_KEYS = {
    "index": "/app/index",
    "company": "/app/company/list",
    "admin": "/app/admin/list",
    "notify":"/app/notify",
    "order": "/app/order/list"
};

export const COMPANY_AREA_DATA = [
    { label:"南湖区",value:1 },
    { label:"秀洲区",value:2 },
    { label:"嘉善县",value:3 },
    { label:"海盐县",value:4 },
    { label:"平湖",value:5 },
    { label:"桐乡",value:6 },
    { label:"海宁",value:7 },
    { label:"港区",value:8 },
    { label:"经开区",value:9 },
    { label:"非嘉兴",value:10 }
];

